Configure SLPP packet-rx on a Port

Enable SLPP by port to detect a loop and automatically stop it.

Important

Important

To provide protection against broadcast and multicast storms, as a best practice, enable Rate Limiting for broadcast traffic and multicast traffic.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure SLPP on a port:

    slpp port {sub-port]][,...][slot/all][all]} packet-rx [packet-rx-threshold <1-500>]

Example

Switch(config-if)#slpp port 1/1 packet-rx-threshold 5

Variable Definitions

Use the data in the following table to use the slpp port command.

Variable

Value

<1-500>

Specifies the SLPP reception threshold on the ports, expressed as an integer. The packet reception threshold specifies how many SLPP packets the port receives before it is administratively disabled. To set this option to the default value, use the default operator with the command. The default value is 1.

Note:

As a best practice, configure the rx-threshold above 50 slpp packets only on lightly loaded switches. If you configure the rx-threshold to a value greater than 50 on a heavily loaded switch and a loop occurs, the system can experience high CPU utilization.

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Job aid

The following table provides the SLPP values.

Table 1. SLPP values

Enable SLPP

Setting

Access SMLT

Yes

Core SMLT

No

Primary switch

Packet Rx threshold

5

Transmission interval

500 milliseconds (ms) (default)

Secondary switch

Packet Rx threshold

50

Transmission interval

500 ms (default)